/* Dojo code for system settings in here - tab pane, two container panes, and form XHR submits 
 * 
 * functions to add:
 * 
 * getGlobalCashAdvances()
 * getGlobalTopMerchandise()
 * setGlobalCashAdvances() - fetches cash advance data and XHR's the controller method
 * setGlobalTopMerchandise() - fetches top merch data and XHR's the controller method
 * loadCAform( cashAdvArray )
 * fetchCAformData() - returns cashAdvArray
 * loadTMform( mrchArray )
 * fetchTMformData() - returns mrchArray
 */

dojo.require('dojo.parser');
dojo.require('dijit.form.Button');
dojo.require('dijit.Dialog');
dojo.require('dijit.layout.TabContainer');
dojo.require('dijit.layout.ContentPane');

// functions that move data into/out of DB
function fetchGlobalCashAdvances()
{
	
}

function fetchGlobalTopMerchandise()
{
	
}

function updateGlobalCashAdvances()
{
	
}

function updateGlobalTopMerchandise()
{
	
}

// functions that set/retrieve form fields


// also need methods to update and fetch settings.